#include "Pthread.hpp"
#include <unordered_map>
#include <memory>

#define NUM 10


void Count(int max)
{
    for(int i = 0;i < max;i++)
    {
        std::cout << "i == " << i << std::endl;
        sleep(1);
    }
}

int main()
{
    ThreadModule::Thread<int> t(Count,10);
    t.Start();

    t.Join();
    return 0;
}